import java.util.Scanner;

class TempConverter 
{
// x = degrees Celcius to y = degrees Fehrenheit.
// x(1.8) + 32 = y
	static Scanner sc = new Scanner(System.in);
	
	public static void main(String[] args)
	{
		
		System.out.print("Enter a tempature in degrees Celcius: ");
		
		double x = sc.nextDouble();
		double y = (x * 1.8) + 32;  
		System.out.println("You entered " + x + " Celcius, which equals " +
		 y + " degrees Fehrenheit.");

	}
}